package net.zjitc.service.impl;

import net.zjitc.User;
import net.zjitc.dao.UserDao;
import net.zjitc.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service("UserService")
public class UserServiceImpl implements UserService {
    @Resource(name ="UserDao")
    private UserDao userDao;
    @Override
    public User findUser() {
        return userDao.findUser();
    }
}
